home *** CD-ROM | disk | FTP | other *** search
/ Amiga Mag HDD Backup / Amiga Mag HDD Backup.zip / Amiga Mag HDD Backup / Alexander.img.bin / Alexander.img / 315 2 files Archive.sit / Any plain-text files / ? Any plain-text file 71 < prev    next >
Text File  |  1995-01-03  |  2KB  |  2 lines

  1.  files to implement, test, and debug the generic device are:devent.a  This file contains the assembly language code used to load a device module and convert it to an executable task.  The code implements the device's resident tag, its code and data initialization tables, and "jump" instructions that call its standard device procedures.  You can use this code without modification to implement any exec device, providing you do not modify the names of tses the user coordinate system a speci/*=======================================================*//* *  Listing 1.  showTimer.c  * *  This program shows how a device is used by opening *  and using the timer device, then closing it. * *  This program requires V36 or higher.*//*=======================================================*/#include <stdio.h>#include <stdlib.h>#include <exec/types.h>#include <exec/memory.h>#include <devices/timer.h>#include <clib/exec_protos.h>#include <clib/dos_protos.h>#include <clib/alib_protos.h>II*RÇ`P8$äBaP╕d6êDbQ8ñV-äÇ#P(╘v=ÉHdR9$ûM'öJeR╣d╢]/ÿLd╚╪:£NgS╣Σ÷}?áPhT:%ìGñRiT║e2;4T'*ÑV¡W¼VkU╣mNkO¢F½╒╦%û═g┤Zev:àHjòA$5 Æ ║Tl2[╠Ä∩0╛╟á╒l┬Ol╜█░╥yÑ≈{╣╪p╖Y6N±Æ╚K2┘i~s!─e<ⁿïë╣M`wl╞ !╒j5z╩■╞┴│╪µr≤=n█s╖║jt▒φ╫GoßΘ»·}«oà╞Φ^╖¥╛πÖ╥∞u∙\∩_╡y╧a╕╜Ä?'ò═ε∩|∙▐╗ºΣ÷vy~₧º╗█º╘≈≈\■OÅ≤=ε≤Φ┐7Nï└²╜Oï┤╩@Múx╢┴3&≡¼∩≥÷╥@CÇ┘9╨#¬╫B¼75ô°Ω╖é⌡╛┤N╥┬╔╗æ ╞æ¼mñqè┼╟∞}╝Q£Xπ⌐▓,ì#╔Lò%╔Æ[D ╚îÑ)¬╤╙╦*K╠┤ôJ╨┬_&╠ ─£╞J,╦1⌐
  2. ╝╗&⌠╖(¼srA8═Å4ΣùMj¼∩IL·ö@⌐■ô╨mg=╞TLkD-rK╧S¬\P⌐%(öRö¡K▓»3BSô¥ITTTiF%S╩⌐TT